import { Link, useNavigate, useSearchParams,useParams } from "react-router-dom";
function Entire() {
//   const [params] = useSearchParams();
// console.log(params.get('id'));
  const params = useParams();
console.log(params.id);
  
  return (
    <div>
      我试试少时诵诗书<Link to="/about">222222222222</Link>
    </div>
  );
}

export default Entire;
